package com.gcb.mapper;

import com.gcb.domain.dto.BusinessesQueryDTO;
import com.gcb.domain.entity.Businesses;
import com.gcb.domain.vo.BusinessesVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BusinessesMapper {

    void insert(Businesses businesses);

    void delete(Long id);

    void updateById(Businesses businesses);

    List<BusinessesVO> selectList(BusinessesQueryDTO dto);
}
